package org.grumpybitz.sunrise;

import java.io.Serializable;

public class SearchFilter implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -2928592214894475027L;
	private final String term;
	private final Object propertyId;
	public String getSearchName() {
		return searchName;
	}

	public void setSearchName(String searchName) {
		this.searchName = searchName;
	}

	public String getTerm() {
		return term;
	}

	public Object getPropertyId() {
		return propertyId;
	}

	private String searchName;

	public SearchFilter(Object propertyId, String searchTerm, String name) {
		this.propertyId = propertyId;
		this.term = searchTerm;
		this.searchName = name;
	}

	 @Override
     public String toString() {
         return getSearchName();
     }
}